<?php

/**
 * Created by 项目名称.PhpStorm
 * User: jiang
 * Date: 19-7-12
 * Time: 下午6:56
 */

$servername = "129.28.149.240";
$username = "jiang";
$password = "1";

// 创建连接
$conn = mysqli_connect($servername, $username, $password);

// 检测连接
if (!$conn) {
    die("Connection failed: " . mysqli_connect_error());
}
echo "连接成功";
?>